package com.example.design.shejimoshi.createMode.factoryMode.基于泛型的工厂模式;


public class Rectangle extends Shape {
   @Override
   public void draw() {
      System.out.println("Inside Rectangle::draw() method.");
   }
}